package io.github.bloquesoft.entity.storage.mybatisplus.example.entity;

import lombok.AllArgsConstructor;
import lombok.Data;

import javax.persistence.Id;
import java.util.ArrayList;
import java.util.List;

@AllArgsConstructor
@Data
public class Student {

    @Id
    private Integer id;

    private String name;

    private Integer age;

    private String email;

    private List<Book> books;

    public Student(){ }
}
